package yxy.cherry.data.bean;

import yxy.cherry.data.bean.model.DataClass;
import yxy.cherry.data.bean.model.DataType;

/**
 * @author wrs
 * 神兽
 * @since 2022-05-31
 */
@DataType
public class therion implements DataClass {

    public int id;
    public int type;
    public String name;
    public int level;
    public String icon;
    public int attack;
    public int defense;
    public int life;
    public int[] costtype; //神兽升级消耗资源类型
    public int[] costid; //神兽升级消耗资源ID
    public int[] costnum; //神兽升级消耗资源数量

    public int getId() {
        return id;
    }

    public int getType() {
        return type;
    }

    public String getName() {
        return name;
    }

    public int getLevel() {
        return level;
    }

    public String getIcon() {
        return icon;
    }

    public int getAttack() {
        return attack;
    }

    public int getDefense() {
        return defense;
    }

    public int getLife() {
        return life;
    }

    public int[] getCosttype() {
        return costtype;
    }

    public int[] getCostid() {
        return costid;
    }

    public int[] getCostnum() {
        return costnum;
    }

    @Override
    public String getCode() {
        return String.valueOf(getId());
    }
}
